package com.tgh.gles2.c6.ads_phong;
import android.app.Activity;
import android.os.Bundle;

public class GLActivity extends Activity{

    private MySurfaceView surfaceView;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        surfaceView = new MySurfaceView(this);
        setContentView(surfaceView);
    }
    @Override
    protected void onResume() {
        super.onResume();
        surfaceView.onResume();
    }
    
    @Override
    protected void onPause() {
        super.onPause();
        surfaceView.onPause();
    }

}
